Potential energy of system of three charges